package io.renren.modules.course.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.course.entity.TeacherEntity;
import io.renren.modules.oss.entity.MysqlOssEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * 讲师表
 *
 * @author zlb
 * @email 316682546@qq.com
 * @date 2018-07-12 15:30:24
 */
public interface TeacherService extends IService<TeacherEntity> {

    PageUtils queryPage(Map<String, Object> params);

    Integer upload(Map<String, Object> param);

    MysqlOssEntity getImgByName(String name);

    List  getTeacherList();

    void updateTeacherInfo(TeacherEntity teacher);

    //Integer upload(MultipartFile file);
}

